package com.ygqh.baby.mapper;

import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.po.BiChannelDay;
import com.ygqh.baby.po.BiChannelDayExample;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface BiChannelDayMapper {
	int countByExample(BiChannelDayExample example);

	int deleteByExample(BiChannelDayExample example);

	int deleteByPrimaryKey(Long id);

	int insert(BiChannelDay record);

	int insertSelective(BiChannelDay record);

	List<BiChannelDay> selectByExample(BiChannelDayExample example);

	BiChannelDay selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") BiChannelDay record, @Param("example") BiChannelDayExample example);

	int updateByExample(@Param("record") BiChannelDay record, @Param("example") BiChannelDayExample example);

	int updateByPrimaryKeySelective(BiChannelDay record);

	int updateByPrimaryKey(BiChannelDay record);

	List<BiChannelDay> selectSuper(@Param("queryInfo") QueryInfo queryInfo, @Param("startDate") Date startDate, @Param("endDate") Date endDate,
			@Param("q") String q);

	int countSuper(@Param("startDate") Date startDate, @Param("endDate") Date endDate, @Param("q") String q);

	int addBiChannelDayBatch(@Param("biChannelDayList") List<BiChannelDay> biChannelDayList);
}